import request from "./request";


/**
 * @description 测试 
 */

//图片获取 type 0轮播  1封面
export const test = (data,isLoding=true)=> request({
	url:'/earthwork/business/cover',
	method:'get',
	data:data
},isLoding)




/**
 * @description 升学 --- > 左侧菜单
 */
export const catalogList = ()=> request('')

/**
 * @description 升学，左侧菜单对应的右边条目
 * @param {string | number} id 左侧菜单id
 */
export const schoolItems = (id = "") => request('', {id})


/**
 * @description 升学，详情页信息
 * @param {string | number} id 升学产品项 id
 */
export const schoolDetail = id => request('', {id})

/**
 * @description 根据名字搜索
 * @param {string} name 升学项目的名字
 */
export const searchSchool = name => request('', {name})

/**
 * @description 升学列表页轮播图
 */
export const schoolBanner = ()=> request('')